/*
编写 : Hexh
时间 : 2012-5-24 15:41:22
*/
using System.Collections.Generic;
using HMIS.FrameWork.DomainBase;
using HMIS.FrameWork.Repository;
using HMIS.Infrastructure.Core.Entities;

namespace HMIS.Infrastructure.Core.Repositories
{
	/// <summary>
	///	 the InfraApprove repository interface 
	/// </summary>
	public interface IInfraApproveRepository : IRepository<InfraApprove>
	{

		IList<InfraApprove> GetPlist(string query, int start, int limit, string sort, string dir, List<DataFilter> filters, out long total);

		bool IsFieldExist(string fieldName, string fieldValue, string id);

		bool IsFieldExist(string fieldName, string fieldValue, string id, string where);

		InfraApprove GetByDeptAndType(string deptId, string approveType);
	}
}
